package com.ddstation.onsitelaw.entity.auditentity;

import java.math.BigDecimal;
import java.util.Date;

public class DtHealthDataWestPrescriptionPlusEntity {
    private Integer id;

    private String institutionId;

    private Integer medicalId;

    private Integer prescriptionId;

    private Integer prescriptionType;

    private Integer itemId;

    private String itemName;
    
    private String itemUnitText;

    private String spec;

    private BigDecimal itemPrice;

    private Integer amount;

    private BigDecimal price;

    private Date updateTm;

    private Date createTm;

    private String comment;
    
    private Integer source; // 0:本院 1:外配
	private Integer feeMode; // 0:免费 1:收费
	
	private BigDecimal editRetailPrice;//修改总价后重新计算的单价
	private BigDecimal editTotalPrice;//修改总价后重新计算的总价
    private BigDecimal stockQt1;
    private BigDecimal stockQt2;

    private String tmpPrescriptionId; //临时处方ID(生成新处方时用)
    
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getInstitutionId() {
        return institutionId;
    }

    public void setInstitutionId(String institutionId) {
        this.institutionId = institutionId == null ? null : institutionId.trim();
    }

    public Integer getMedicalId() {
        return medicalId;
    }

    public void setMedicalId(Integer medicalId) {
        this.medicalId = medicalId;
    }

    public Integer getPrescriptionId() {
        return prescriptionId;
    }

    public void setPrescriptionId(Integer prescriptionId) {
        this.prescriptionId = prescriptionId;
    }

    public Integer getPrescriptionType() {
		return prescriptionType;
	}

	public void setPrescriptionType(Integer prescriptionType) {
		this.prescriptionType = prescriptionType;
	}

	public Integer getItemId() {
        return itemId;
    }

    public void setItemId(Integer itemId) {
        this.itemId = itemId;
    }

    public String getItemName() {
        return itemName;
    }

    public void setItemName(String itemName) {
        this.itemName = itemName == null ? null : itemName.trim();
    }

    public String getItemUnitText() {
		return itemUnitText;
	}

	public void setItemUnitText(String itemUnitText) {
		this.itemUnitText = itemUnitText;
	}

	public String getSpec() {
        return spec;
    }

    public void setSpec(String spec) {
        this.spec = spec == null ? null : spec.trim();
    }

    public BigDecimal getItemPrice() {
        return itemPrice;
    }

    public void setItemPrice(BigDecimal itemPrice) {
        this.itemPrice = itemPrice;
    }

    public Integer getAmount() {
		return amount;
	}

	public void setAmount(Integer amount) {
		this.amount = amount;
	}

	public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public Date getUpdateTm() {
        return updateTm;
    }

    public void setUpdateTm(Date updateTm) {
        this.updateTm = updateTm;
    }

    public Date getCreateTm() {
        return createTm;
    }

    public void setCreateTm(Date createTm) {
        this.createTm = createTm;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment == null ? null : comment.trim();
    }

	public String getTmpPrescriptionId() {
		return tmpPrescriptionId;
	}

	public void setTmpPrescriptionId(String tmpPrescriptionId) {
		this.tmpPrescriptionId = tmpPrescriptionId;
	}

	public Integer getSource() {
		return source;
	}

	public void setSource(Integer source) {
		this.source = source;
	}

	public Integer getFeeMode() {
		return feeMode;
	}

	public void setFeeMode(Integer feeMode) {
		this.feeMode = feeMode;
	}

	public BigDecimal getEditRetailPrice() {
		return editRetailPrice;
	}

	public void setEditRetailPrice(BigDecimal editRetailPrice) {
		this.editRetailPrice = editRetailPrice;
	}

	public BigDecimal getEditTotalPrice() {
		return editTotalPrice;
	}

	public void setEditTotalPrice(BigDecimal editTotalPrice) {
		this.editTotalPrice = editTotalPrice;
	}

    public BigDecimal getStockQt1() {
        return stockQt1;
    }

    public void setStockQt1(BigDecimal stockQt1) {
        this.stockQt1 = stockQt1;
    }

    public BigDecimal getStockQt2() {
        return stockQt2;
    }

    public void setStockQt2(BigDecimal stockQt2) {
        this.stockQt2 = stockQt2;
    }
}